package csc.daonjpa.java.dao;

import java.util.Date;
import java.util.List;

import csc.daonjpa.java.domain.Transaction;

public interface TransactionDAO {

	public List<Transaction> getTransactions();
	
	public List<Transaction> getTransactionsSource(String loginId);
	
	public List<Transaction> getTransactionsTarget(String loginId);
	
	public boolean addTransaction(Transaction transaction);
	
	public List<Transaction> searchByDate(Date fromDate, Date toDate);
}
